<?php

namespace app\common\model;

use think\Model;

class UseCoupon extends Model
{
    protected $name = 'use_coupon';



    public function coupon()
    {
        return $this->belongsTo('Coupon', 'coupon_id', 'id', [], 'LEFT')->setEagerlyType(0);
    }
}